home *** CD-ROM | disk | FTP | other *** search
- Path: erich.triumf.ca!bennett
- From: bennett@erich.triumf.ca (P.Bennett)
- Newsgroups: comp.lang.c
- Subject: Re: Problems with Borland C Graphic Functions
- Date: 6 Feb 1996 12:12 PST
- Organization: TRIUMF: Tri-University Meson Facility
- Distribution: world
- Message-ID: <6FEB199612121268@erich.triumf.ca>
- References: <4f7ol4$9jb@canopus.cc.umanitoba.ca>
- NNTP-Posting-Host: erich.triumf.ca
- News-Software: VAX/VMS VNEWS 1.50
-
- In article <4f7ol4$9jb@canopus.cc.umanitoba.ca>, jgiesbr@eeserv.ee.umanitoba.ca (Jeff Giesbrecht) writes...
- >Hi
- >
- >I'm getting a bunch of pesky Linker Errors (Borland C++ v 4.0)
- >when I attempt to compile. There is an error for each
- >of the graphic functions that I call: closegraph, getmaxy, getmaxx, etc.
- >The errors are of the following form:
- >
- >Linker Error: undefined symbol _initgraph in module myprog.c
- >
-
- You have to tell the linker to look in the graphics library - somewhere under
- Options/Linker there is a check box for this.
-
- The #include <graphics.h> just tells the compiler what the functions look like
- - it does not tell the linker where to find them.
-
- Peter Bennett VE7CEI | Vessels shall be deemed to be in sight
- Internet: bennett@triumf.ca | of one another only when one can be
- Packet: ve7cei@ve7kit.#vanc.bc.ca | observed visually from the other
- TRIUMF, Vancouver, B.C., Canada | ColRegs 3(k)
- GPS and NMEA info and programs: ftp://sundae.triumf.ca/pub/peter/index.html
-
-
-
-
-
-
-
-
-
-
-
-
-